
<script lang="ts" setup>
import { useRoute } from 'vue-router';
const route = useRoute();
alert(route.params.userId);
</script>

<template>
  <div>
    User页面
  </div>
  </template>
